package com.ruoyi.qiushi.service.mall;

import java.util.List;

import com.ruoyi.qiushi.domain.mall.QiushiBanner;

/**
 * bannerService接口
 *
 * @author ruoyi
 * @date 2024-01-16
 */
public interface IQiushiBannerService {
    /**
     * 查询banner
     *
     * @param id banner主键
     * @return banner
     */
    public QiushiBanner selectQiushiBannerById(Long id);

    /**
     * 查询banner列表
     *
     * @param qiushiBanner banner
     * @return banner集合
     */
    public List<QiushiBanner> selectQiushiBannerList(QiushiBanner qiushiBanner);

    /**
     * 新增banner
     *
     * @param qiushiBanner banner
     * @return 结果
     */
    public int insertQiushiBanner(QiushiBanner qiushiBanner);

    /**
     * 修改banner
     *
     * @param qiushiBanner banner
     * @return 结果
     */
    public int updateQiushiBanner(QiushiBanner qiushiBanner);

    /**
     * 批量删除banner
     *
     * @param ids 需要删除的banner主键集合
     * @return 结果
     */
    public int deleteQiushiBannerByIds(Long[] ids);

    /**
     * 删除banner信息
     *
     * @param id banner主键
     * @return 结果
     */
    public int deleteQiushiBannerById(Long id);
}
